package beanstao.util.id;

import org.dom4j.Element;

import beanstao.util.setting.Setting;

public class IdSetting extends Setting<Element>
{
	public IdSetting(DomainIdType idType)
	{
		_DomainIdType = idType;
	}

	public IdSetting(DomainIdType idType, String regexText)
	{
		_DomainIdType = idType;
		_RegexText = regexText;
	}

	private DomainIdType _DomainIdType = DomainIdType.GUID;

	private String _RegexText = "";

	public DomainIdType getDomainIdType()
	{
		return _DomainIdType;
	}

	public String getRegexText()
	{
		return _RegexText;
	}

	@Override
	protected void fillSettingData(Element element)
	{
	}

}
